# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper

  def alpha_links(action)
    return_text = '[ '

    ('A'..'Z').to_a.each do |letter|
      return_text = return_text + link_to("#{letter} ", :action => action, :id => letter)
    end    
  
    return return_text + ' ]'
  end
  
end
